An Automated Tool for Upgrading Fortran Codes
نویسندگان
چکیده
With archaic coding techniques, there will be a time when it necessary to modernize vulnerable software. However, redeveloping out-of-date code can time-consuming task dealing with multitude of files. To reduce the amount reassembly for Fortran-based projects, in this paper, we develop prototype automating manual labor refactoring individual ForDADT (Fortran Dynamic Autonomous Diagnostic Tool) project is Python program designed compiling Fortran In demonstrate how used automate process upgrading codes, files, and cleaning compilation errors. The developed tool automatically updates thousands files builds software find fix errors using pattern matching data masking algorithms. These modifications address concerns readability, type safety, portability, adherence modern programming practices.
منابع مشابه
FORTRAN-codes for an analysis of the ultrashort pulse propagation
Short description of the FORTRAN-codes for an analysis of the ultrashort pulse dynamics is presented. We consider: 1) the aberration-less approximation and the momentum method for the search of the single pulse stability regions in the laser with the soft-aperture Kerr-lens mode locking; 2) the distributed complex Ginzburg-Landau model for the same aim; 3) the generalized Schrödinger equation f...
متن کاملDNAD, a simple tool for automatic differentiation of Fortran codes using dual numbers
DNAD (dual number automatic differentiation) is a simple, general-purpose tool to automatically differentiate Fortran codes written in modern Fortran (F90/95/2003) or legacy codes written in previous version of the Fortran language. It implements the forward mode of automatic differentiation using the arithmetic of dual numbers and the operator overloading feature of F90/95/2003. Very minimum c...
متن کاملKGEN: A Python Tool for Automated Fortran Kernel Generation and Verification
Computational kernels, which are small pieces of software that selectively capture the characteristics of larger applications, have been used successfully for decades. Kernels allow for the testing of a compiler’s ability to optimize code, performance of future hardware and reproducing compiler bugs. Unfortunately they can be rather time consuming to create and do not always accurately represen...
متن کاملADIFOR Generating Derivative Codes from Fortran Programs
The numericalmethods employed in the solution of many scienti c computing problems require the computation of derivatives of a function f R R Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution ADIFOR Automatic Di erentiation In FORtran is a source transformation tool that ac...
متن کاملADIFOR - Generating Derivative Codes form Fortran Programs
The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. Both the accuracy and the computationalrequirements of the derivativecomputation are usually of critical importance for the robustness and speed of the numerical solution. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Software
سال: 2022
ISSN: ['2674-113X']
DOI: https://doi.org/10.3390/software1030014